package com.mobile.service.dto;
import com.mobile.service.dto.base.PageDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.util.Date;

/**
 * 工单表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class WorkOrderQueryDTO extends PageDTO {
    @Schema(description = "工单ID - 精确查询")
    private Integer workOrderId;
    
    @Schema(description = "工单编号 - 精确查询")
    private String workOrderNo;

    @Schema(description = "保险类型 - 精确查询")
    private String insuranceType;

    @Schema(description = "分配状态 - 精确查询")
    private String allocationStatus;

    private String flag;

    @Schema(description = "处理人员ID - 精确查询")
    private String handlingStaffId;

    @Schema(description = "紧急程度")
    private String urgencyLevel;

    @Schema(description = "业务属地")
    private String businessLocation;

    private String applicantInfo;

    @Schema(description = "创建时间 - 创建时间开始")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @Schema(description = "创建时间 - 创建时间结束")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;
}
